package com.canaan.business.domain.basic;

import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 仓库权限对象 wms_storehouse_permission
 *
 * @author ruoyi
 * @date 2023-02-01
 */
@ApiModel(description = "wms_storehouse_permission")
@TableName("wms_storehouse_permission")
public class StorehousePermission extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 权限功能编号 */
    @Excel(name = "权限功能编号")
    @ApiModelProperty("权限功能编号")
    private String no;

    /** 权限功能名称 */
    @Excel(name = "权限功能名称")
    @ApiModelProperty("权限功能名称")
    private String name;

    /** 权限功能详情 */
    @ApiModelProperty("权限功能详情")
    private String permissionDetail;

    /** 权限功能详情转中文 */
    @Excel(name = "权限功能详情")
    @ApiModelProperty("权限功能详情转中文")
    private String permissionDetailChinese;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Integer sort;

    public String getPermissionDetailChinese() {
        return permissionDetailChinese;
    }

    public void setPermissionDetailChinese(String permissionDetailChinese) {
        this.permissionDetailChinese = permissionDetailChinese;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPermissionDetail(String permissionDetail)
    {
        this.permissionDetail = permissionDetail;
    }

    public String getPermissionDetail()
    {
        return permissionDetail;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("permissionDetail", getPermissionDetail())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
